<?php
	$productOption = new productOption();
	$productID =$product['productID'];
	$productOptionAll = $productOption->show_product_option_by_product($productID);
?>

<table border="0" width="200px">
	<?php foreach ($productOptionAll as $productOption)
		{?>
	<tr>
		<td style="text-align:right;">
			<?php echo $productOption['title']?> :
		</td>
		<td style="text-align:left;">
		<?php 
			$total = $productVote->count_product_vote_by_proID_and_title($productID, $productOption['title']); 
			echo $total['total'];
			?><br />
		</td>
	</tr>
	<?php }?>
	
</table>